﻿using System;
using System.Collections.Generic;
using System.Text;
using NLBS.WebControls.UI;
using System.Web;

namespace NLBS.Web.UI
{
    public class NLBSCallBack :CallBack
    {
        protected override void OnLoad(EventArgs e)
        {
            this.ExtendClientID = "ajax";
            this.Callback += new CallBackEventHanlder(NLBSCallBack_Callback);
            base.OnLoad(e);
        }

        void NLBSCallBack_Callback(object sender, CallBackEventArgs args)
        {
            
            CallBackHelp help = new CallBackHelp(this, args.Parameter);
            if (help.ReadyControl != null)
            {
                help.ReadyControl.RenderControl(args.Output);
            }
            
        }

    }

    public class aa
    {
        [CallBackMethod("singleArticle")]
        public void cc()
        {
            HttpRequest aa=HttpContext.Current.Request;
            string aaa = aa.Form["singleArticle"];
            string a = "sasa";
            string b = a;
        }
    }
}
